summaryrefslogtreecommitdiff
path: root/textproc/xml2doc/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-09-10 08:40:51 +0000
committerjmmv <jmmv>2004-09-10 08:40:51 +0000
commit44623b708cfbe5b48e9c8a14c9e4982055c726c7 (patch)
tree1921c77b262dc9457853c9168757f2e83a6e4627 /textproc/xml2doc/Makefile
parentc86c7f9c87c5c6325dc08b1db9a68a4b322986f7 (diff)
downloadpkgsrc-44623b708cfbe5b48e9c8a14c9e4982055c726c7.tar.gz
Avoid hardcoded /usr/pkg paths in the package, to let this build where
LOCALBASE != /usr/pkg. While here, remove multiple gcc specific flags. Closes PR pkg/26898.
Diffstat (limited to 'textproc/xml2doc/Makefile')
-rw-r--r--textproc/xml2doc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/textproc/xml2doc/Makefile b/textproc/xml2doc/Makefile
index 82736a48de2..8eb7499fb8a 100644
--- a/textproc/xml2doc/Makefile
+++ b/textproc/xml2doc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/05/29 13:04:00 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2004/09/10 08:40:51 jmmv Exp $
#
DISTNAME= xml2doc-20030510
@@ -16,6 +16,11 @@ USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
+CFLAGS+= -I${BUILDLINK_PREFIX.libxml2}/include/libxml2
+CFLAGS+= -I${BUILDLINK_PREFIX.pdflib}/include
+LDFLAGS+= -L${BUILDLINK_PREFIX.libxml2}/lib
+LDFLAGS+= -L${BUILDLINK_PREFIX.pdflib}/lib
+
.include "../../print/pdflib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"