diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-27 06:29:06 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-27 06:29:06 +0000 |
commit | 2347df5518184e316028bf90a0d032ee71028b63 (patch) | |
tree | 0ff3b0eccc04d1b065efd866b0590608098961d5 /graphics/png2html | |
parent | e5a1b353192b781a2b5c36eca0f963c97d681caa (diff) | |
download | pkgsrc-2347df5518184e316028bf90a0d032ee71028b63.tar.gz |
Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively. In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath. The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use. They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
Diffstat (limited to 'graphics/png2html')
-rw-r--r-- | graphics/png2html/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/png2html/Makefile b/graphics/png2html/Makefile index da069c732b4..fd244d4df58 100644 --- a/graphics/png2html/Makefile +++ b/graphics/png2html/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2004/06/20 21:52:08 xtraeme Exp $ +# $NetBSD: Makefile,v 1.12 2004/08/27 06:29:07 jlam Exp $ # DISTNAME= png2html-1.1 @@ -12,7 +12,7 @@ COMMENT= Takes a PNG image and transforms it to a web page USE_BUILDLINK3= YES FIX_RPATH+= CFLAGS -CFLAGS+= -L${BUILDLINK_PREFIX.gd}/lib -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.gd}/lib +CFLAGS+= -L${BUILDLINK_PREFIX.gd}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gd}/lib do-install: ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/png2html |