diff options
Diffstat (limited to 'x11/wmappl/files/patch-Makefile')
-rw-r--r-- | x11/wmappl/files/patch-Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/wmappl/files/patch-Makefile b/x11/wmappl/files/patch-Makefile index df195e311626..aeeeba25a84a 100644 --- a/x11/wmappl/files/patch-Makefile +++ b/x11/wmappl/files/patch-Makefile @@ -11,14 +11,14 @@ -DESTDIR = /usr/X11R6/bin -ICONDIR = /usr/share/icons/wmappl +CFLAGS += -DICONPATH=\"${DATADIR}\" -+INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include -I${LOCALBASE}/include -+LIBDIR = -L${X11BASE}/lib -L${LOCALBASE}/lib ++INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include ${CPPFLAGS} ++LIBDIR = -L${X11BASE}/lib +DESTDIR = ${X11BASE}/bin +ICONDIR = ${DATADIR} # for linux -LIBS = -lXpm -lX11 -lXext -+LIBS = -lXpm -lX11 -lXext -lgnugetopt ++LIBS = -lXpm -lX11 -lXext # for Solaris # LIBS = -lXpm -lX11 -lXext -lsocket @@ -27,7 +27,7 @@ $(TARGET): $(OBJS) - $(CC) $(CFLAGS) -o $(TARGET) $^ $(INCDIR) $(LIBDIR) $(LIBS) -+ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(INCDIR) $(LDFLAGS) $(LIBDIR) $(LIBS) clean: for i in $(OBJS) ; do \ |