summaryrefslogtreecommitdiff
path: root/x11-toolkits/gal
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-12-01 00:54:16 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-12-01 00:54:16 +0000
commit2deb7468927ce7ad8739730df21af1ab973bfa56 (patch)
treee6738b04889f9fad5585d8b49cb511ab35b7f41e /x11-toolkits/gal
parentRemove bogus .include <bsd.port.subdir.mk> (diff)
Protect targets with .if target(...) ... .endif for targets that are
redefined in slave ports. Slave port maintainers need to check that they aren't actually relying on the master port target to be executed.
Notes
Notes: svn path=/head/; revision=71263
Diffstat (limited to 'x11-toolkits/gal')
-rw-r--r--x11-toolkits/gal/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-toolkits/gal/Makefile b/x11-toolkits/gal/Makefile
index 1c9d9334b285..ab5895560734 100644
--- a/x11-toolkits/gal/Makefile
+++ b/x11-toolkits/gal/Makefile
@@ -33,8 +33,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PLIST_SUB= VERSION=${PORTVERSION}
+.if !target(post-patch)
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+.endif
.include <bsd.port.mk>