diff options
author | jlam <jlam@pkgsrc.org> | 2003-02-13 06:35:19 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-02-13 06:35:19 +0000 |
commit | 139efbe730d738434f92b8e1f50895a8095379aa (patch) | |
tree | e20d17ae861da53973f4c2ad59ea0d67c31b5b82 | |
parent | 193dea58cb2b53342a932ec0dd3790780fc2da97 (diff) | |
download | pkgsrc-139efbe730d738434f92b8e1f50895a8095379aa.tar.gz |
Correct usage of r:... for BUILDLINK_TRANSFORM, and use the COPTX and
LDOPTX variables to pass in our pkgsrc CFLAGS and LDFLAGS so that
OSS works properly.
-rw-r--r-- | sysutils/cdrecord/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/cdrecord/Makefile b/sysutils/cdrecord/Makefile index 5a7b99353f9..61616138b69 100644 --- a/sysutils/cdrecord/Makefile +++ b/sysutils/cdrecord/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2003/01/03 16:27:09 lukem Exp $ +# $NetBSD: Makefile,v 1.45 2003/02/13 06:35:19 jlam Exp $ DISTNAME= cdrtools-2.0 PKGNAME= cdrecord-2.0 @@ -18,13 +18,15 @@ USE_GMAKE= # defined TBL?= tbl .if ${LOCALBASE} != "/opt/schily" -BUILDLINK_TRANSFORM= r:-I/opt/schily -BUILDLINK_TRANSFORM+= r:-L/opt/schily +BUILDLINK_TRANSFORM= r:/opt/schily +BUILDLINK_TRANSFORM+= r:/opt/schily .endif # avoid picking up a bad ${ARCH} during the build MAKE_ENV+= ARCH="" MAKE_ENV+= MAKEPROG="gmake" +MAKE_ENV+= COPTX="${CFLAGS}" +MAKE_ENV+= LDOPTX="${LDFLAGS}" do-configure: cd ${WRKSRC}/RULES; \ |