$NetBSD: patch-ag,v 1.1.1.1 2004/10/04 20:50:57 cube Exp $

--- pwm/Makefile.orig	2004-09-06 20:28:36.000000000 +0200
+++ pwm/Makefile
@@ -18,6 +18,7 @@ LIBS += -lm
 LIBS += $(X11_LIBS) $(XINERAMA_LIBS)
 LIBS += $(LUA_LIBS)
 LIBS += $(DL_LIBS)
+LIBS += $(INTL_LIBS)
 EXT_OBJS += ../ioncore/ioncore.a ../luaextl/luaextl.a
 EXT_OBJS += ../libtu/libtu.a
 
@@ -26,7 +27,7 @@ DEFINES += -DETCDIR=\"$(ETCDIR)\" -DSHAR
 	   -DLCDIR=\"$(LCDIR)\" -DLOCALEDIR=\"$(LOCALEDIR)\"
 
 ifndef PWM_ETCDIR
-PWM_ETCDIR = $(ETCDIR)
+PWM_ETCDIR = $(EXDIR)
 else
 DEFINES += -DPWM_ETCDIR=\"$(PWM_ETCDIR)\"
 endif
