diff options
author | rillig <rillig@pkgsrc.org> | 2005-10-10 09:16:48 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-10-10 09:16:48 +0000 |
commit | 3cc4e32a51a3e4133186dc7a414c9e7513df0f6e (patch) | |
tree | 742bdc17e7d8e0324f864186241f488352a1895b | |
parent | c1fb2ed253549608ba82ff0eba1f641bc8b7e70a (diff) | |
download | pkgsrc-3cc4e32a51a3e4133186dc7a414c9e7513df0f6e.tar.gz |
Changed explicit sed(1) code to the SUBST framework. Added BINOWN and
BINGRP to the MAKE_ENV to make unpriviledged builds work.
-rw-r--r-- | security/sslwrap/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/security/sslwrap/Makefile b/security/sslwrap/Makefile index d457ae863ce..b66d3271615 100644 --- a/security/sslwrap/Makefile +++ b/security/sslwrap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2005/04/11 21:47:20 tv Exp $ +# $NetBSD: Makefile,v 1.18 2005/10/10 09:16:48 rillig Exp $ # DISTNAME= ${PKGNAME_NOREV:S/-//} @@ -14,7 +14,9 @@ COMMENT= Simple SSL wrapper OPSYSVARS+= LDADD LDADD.SunOS= -lnsl -lsocket -MAKE_ENV+= LDADD="${LDADD}" +MAKE_ENV+= LDADD=${LDADD:Q} +MAKE_ENV+= BINOWN=${BINOWN} +MAKE_ENV+= BINGRP=${BINGRP} .include "../../security/openssl/buildlink3.mk" @@ -22,10 +24,10 @@ MAKE_ENV+= LDADD="${LDADD}" CFLAGS+= -DFLAT_INC .endif -do-configure: -.for f in apps.h s_cb.c s_server.c s_socket.c - sed -e 's|OPENSSL"|"openssl/|' ${WRKSRC}/$f > ${WRKSRC}/$f.not && \ - mv ${WRKSRC}/$f.not ${WRKSRC}/$f -.endfor +SUBST_CLASSES+= sslwrap +SUBST_MESSAGE.sslwrap= Adjusting the path for include files +SUBST_STAGE.sslwrap= do-configure +SUBST_FILES.sslwrap= apps.h s_cb.c s_server.c s_socket.c +SUBST_SED.sslwrap= -e 's|OPENSSL"|"openssl/|' .include "../../mk/bsd.pkg.mk" |