diff options
author | kris <kris@FreeBSD.org> | 2002-12-01 00:54:16 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-12-01 00:54:16 +0000 |
commit | bc2560ee500dd76514bdc42b389cf904a7a6ac9b (patch) | |
tree | eb0d12b4d49820937ff2da6620ed9cbaa779c812 /x11-toolkits/gal | |
parent | 577cf88345164fd1aef77f01b31342dcda5dd4d2 (diff) | |
download | FreeBSD-ports-bc2560ee500dd76514bdc42b389cf904a7a6ac9b.zip FreeBSD-ports-bc2560ee500dd76514bdc42b389cf904a7a6ac9b.tar.gz |
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.
Diffstat (limited to 'x11-toolkits/gal')
-rw-r--r-- | x11-toolkits/gal/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-toolkits/gal/Makefile b/x11-toolkits/gal/Makefile index 1c9d933..ab58955 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> |