aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xerces-c2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xerces-c2/Makefile')
-rw-r--r--textproc/xerces-c2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/xerces-c2/Makefile b/textproc/xerces-c2/Makefile
index 0b2fb26ac3e..c443c1e051d 100644
--- a/textproc/xerces-c2/Makefile
+++ b/textproc/xerces-c2/Makefile
@@ -12,6 +12,8 @@ DISTNAME= xerces-c-src_${PORTVERSION:S/./_/g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Validating XML parser from the Apache XML Project
+CONFLICTS= xerces_c2-devel-[0-9]* xerces-c3-[0-9]*
+
OPTIONS_DEFINE= DOCS DEBUG EXAMPLES THREADS
OPTIONS_SINGLE= TCODER
OPTIONS_SINGLE_TCODER= ICONVFBSD ICU NATIVE
@@ -41,7 +43,7 @@ PLIST_SUB+= TRANSICU="@comment "
.if ${PORT_OPTIONS:MICONVFBSD}
USES+= iconv
TRANSCODER= IconvFBSD
-ICONVROOT?= ${LOCALBASE}
+ICONVROOT?= ${ICONV_PREFIX}
CONFIGURE_ENV+= ICONVROOT=${ICONVROOT}
MAKE_ENV+= ICONVROOT=${ICONVROOT}
PLIST_SUB+= TRANSICONV=""
@@ -55,7 +57,7 @@ CONFIGURE_WRKSRC= ${XERCESWRKSRC}
BUILD_WRKSRC= ${XERCESWRKSRC}
INSTALL_WRKSRC= ${XERCESWRKSRC}
-USE_GMAKE= yes
+USES+= gmake
MAKE_ENV+= XERCESCROOT=${WRKSRC}
MAKE_JOBS_UNSAFE= yes