diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-06-11 16:51:35 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-06-11 16:51:35 +0000 |
commit | ca2e6f1fe1663fffe428fa6f8d3444a358aa9036 (patch) | |
tree | 6d1a0a851194f450e01448b1b865ea83145e3ff8 /mail/wmpop3 | |
parent | Applied patch to update to 2.41. (diff) |
- Add NOPORTDOCS support to PLISt
- rewrite patch-aa to CFLAGS/PREFIX safeness
Submitted by: Patrick Li <pat@databits.net>
Approved by: jim (maintainer)
Notes
Notes:
svn path=/head/; revision=43857
Diffstat (limited to 'mail/wmpop3')
-rw-r--r-- | mail/wmpop3/Makefile | 2 | ||||
-rw-r--r-- | mail/wmpop3/files/patch-aa | 8 | ||||
-rw-r--r-- | mail/wmpop3/pkg-plist | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/mail/wmpop3/Makefile b/mail/wmpop3/Makefile index 0fecafd4a243..aed0cd1edc75 100644 --- a/mail/wmpop3/Makefile +++ b/mail/wmpop3/Makefile @@ -29,7 +29,7 @@ do-install: @${ECHO} "===> Installing README in ${PREFIX}/share/doc/wmpop3" @${ECHO} "===> Please read it for usage instructions" @${MKDIR} ${PREFIX}/share/doc/wmpop3 - ${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/README ${PREFIX}/share/doc/wmpop3 + @${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/README ${PREFIX}/share/doc/wmpop3 .endif .include <bsd.port.mk> diff --git a/mail/wmpop3/files/patch-aa b/mail/wmpop3/files/patch-aa index c6ea75d7d6dc..9fa92fb40294 100644 --- a/mail/wmpop3/files/patch-aa +++ b/mail/wmpop3/files/patch-aa @@ -2,10 +2,10 @@ +++ Makefile Sat Jun 19 16:30:16 1999 @@ -1,6 +1,6 @@ -LIBDIR = -L/usr/X11R6/lib -+LIBDIR = -L${X11BASE}/lib ++LIBDIR = -L$(PREFIX)/lib LIBS = -lXpm -lXext -lX11 -FLAGS = -O2 -+CFLAGS ?= -O2 ++CFLAGS += -Wall OBJS = wmpop3.o \ Pop3Client.o \ ../wmgeneral/wmgeneral.o \ @@ -14,11 +14,11 @@ .c.o: - cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o -+ ${CC} -I${X11BASE}/include $(CFLAGS) -c $< -o $@ ++ $(CC) -I$(PREFIX)/include $(CFLAGS) -c $< -o $@ wmpop3: $(OBJS) - cc $(FLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS) -+ ${CC} $(CFLAGS) -o wmpop3 $(OBJS) -lXext $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) -o wmpop3 $(OBJS) -lXext $(LIBDIR) $(LIBS) all:: wmpop3 diff --git a/mail/wmpop3/pkg-plist b/mail/wmpop3/pkg-plist index 993b019091e2..891ec78f790a 100644 --- a/mail/wmpop3/pkg-plist +++ b/mail/wmpop3/pkg-plist @@ -1,5 +1,5 @@ bin/wmpop3 -share/doc/wmpop3/README +%%PORTDOCS%%share/doc/wmpop3/README share/examples/wmpop3/wmpop3rc -@dirrm share/doc/wmpop3 +%%PORTDOCS%%@dirrm share/doc/wmpop3 @dirrm share/examples/wmpop3 |