aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-03-22 04:14:02 +0800
committermezz <mezz@FreeBSD.org>2007-03-22 04:14:02 +0800
commit9be788b6a9d3585a1440cce64bd02e3529af5914 (patch)
treef1c33ca0bae84e96cd3e625bb6e2a085fc1e310b /security
parente51bab8b6adeb88e692561999310732f332cc18f (diff)
downloadfreebsd-ports-9be788b6a9d3585a1440cce64bd02e3529af5914.tar.gz
freebsd-ports-9be788b6a9d3585a1440cce64bd02e3529af5914.tar.zst
freebsd-ports-9be788b6a9d3585a1440cce64bd02e3529af5914.zip
Fix a hardcore of /usr/X11R6 to X11BASE.
PR: ports/110166 Reported by: John Nielsen <john@jnielsen.net>
Diffstat (limited to 'security')
-rw-r--r--security/nss/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile
index 4af25df2ef7e..0daf6859b2ec 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -65,7 +65,8 @@ test:
fi
post-patch:
- @${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" \
+ @${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g ; \
+ s|/usr/X11R6|${X11BASE}|g" \
${WRKSRC:H:H}/security/coreconf/FreeBSD.mk
@${SED} -e 's|@exec_prefix@|${PREFIX}|; \
s|@includedir@|${PREFIX}/include/nss|; \