freebsd-ports/mail/wmmultipop3/files/patch-Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

20 lines
619 B
Text

--- wmmultipop3/Makefile.orig Sun May 26 13:43:33 2002
+++ wmmultipop3/Makefile Sun May 26 19:40:43 2002
@@ -1,14 +1,13 @@
-LIBDIR = -L/usr/X11R6/lib
+LIBDIR = -L${LOCALBASE}/lib
LIBS = -lXpm -lXext -lX11
-FLAGS = -O2
OBJS = wmmultipop3.o Pop3Client.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o ../wmgeneral/list.o
.c.o:
- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
+ ${CC} -I${LOCALBASE}/include ${CFLAGS} -c -Wall $< -o $@
wmmultipop3: $(OBJS)
- cc $(FLAGS) -o wmmultipop3 $^ -lXext $(LIBDIR) $(LIBS)
+ ${CC} ${CFLAGS} -o wmmultipop3 ${OBJS} ${LIBDIR} ${LIBS}
all:: wmmultipop3