summaryrefslogtreecommitdiff
path: root/security/nfsbug
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-18 19:24:26 +0000
committerjlam <jlam@pkgsrc.org>2004-12-18 19:24:26 +0000
commit8b2040b4099326c3df41ba99ace8f6ec746ab61a (patch)
treea46e69a2763d5a4dd32b7a8c69c696bae154da76 /security/nfsbug
parenta5d15ead5cb19781bb5a34e2c233e2366870ae14 (diff)
downloadpkgsrc-8b2040b4099326c3df41ba99ace8f6ec746ab61a.tar.gz
Always create a ${TOOLS_DIR}/bin/rpcgen to wrap the real rpcgen.
The wrapper will correctly set the CPP environment variable to a stat((2)able path to a C preprocessor, then rely on the PATH to find and invoke the real rpcgen. Remove NO_EXPORT_CPP in package Makefiles where it was used just to avoid problems with rpcgen. The build system now just does the right thing automatically without needing package-specific knowledge. This fixes PR pkg/27272.
Diffstat (limited to 'security/nfsbug')
-rw-r--r--security/nfsbug/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/security/nfsbug/Makefile b/security/nfsbug/Makefile
index 4caa0e56365..648d8a93037 100644
--- a/security/nfsbug/Makefile
+++ b/security/nfsbug/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2004/10/01 10:37:33 grant Exp $
+# $NetBSD: Makefile,v 1.12 2004/12/18 19:24:26 jlam Exp $
DISTNAME= nfsshell-1.0
CATEGORIES= net security
@@ -13,7 +13,6 @@ EXTRACT_ONLY= nfsBugFerret.tgz
WRKSRC= ${WRKDIR}/nfsbug
USE_BUILDLINK3= yes
-NO_EXPORT_CPP= yes # needed since we use rpcgen
# Only works on 1.5B or greater on most platforms but will work on any x86
# since struct pmap didn't get exposed through vm.h there.