summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-15 10:08:54 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-15 10:08:54 +0000
commit82e7c6ad58bd1f7318e0624cb52288de91386a36 (patch)
tree4ba976465e3ad90a29736b8bfd26530ab2e4eb23
parentAdd privoxy+ipv6 20030523, is a web proxy with advanced filtering (diff)
PORTSDIR should be referred after pre.mk.
This fixes make readmes infinite loop. Pointed and Tested by: Melvyn Sopacua <freebsd-ports@webteckies.org>
Notes
Notes: svn path=/head/; revision=84913
-rw-r--r--x11/xstroke/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/xstroke/Makefile b/x11/xstroke/Makefile
index 5a2365ee3010..8b6aa61edd05 100644
--- a/x11/xstroke/Makefile
+++ b/x11/xstroke/Makefile
@@ -24,7 +24,10 @@ CFLAGS+= ${PTHREAD_CFLAGS}
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-GETOPTDIR!= cd ${PORTSDIR}/devel/libgnugetopt; make -V WRKSRC
+
+.include <bsd.port.pre.mk>
+
+GETOPTDIR!= cd ${PORTSDIR}/devel/libgnugetopt; ${MAKE} -V WRKSRC
MAN1= xstroke.1
@@ -33,4 +36,4 @@ post-patch:
@${REINPLACE_CMD} -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h
${CP} ${GETOPTDIR}/getopt* ${WRKSRC}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>