pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsb: NetBSD specific configure args restricted to .NetBSD



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Sat Aug 13 18:21:33 2022 +0530
Changeset:	15f7a60f0a4b7fe51aadf26701b09e6459d1f398

Modified Files:
	xsb/Makefile

Log Message:
xsb: NetBSD specific configure args restricted to .NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=15f7a60f0a4b7fe51aadf26701b09e6459d1f398

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 xsb/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/xsb/Makefile b/xsb/Makefile
index 9fae39ea0a..80543883f6 100644
--- a/xsb/Makefile
+++ b/xsb/Makefile
@@ -21,7 +21,7 @@ USE_GNU_CONFIGURE_HOST=	no
 
 XSB_VERSION_STR=	xsb-5.0.0
 # The source uses P_tmpdir, u_long which are under _NETBSD_SOURCE flag in respective headers
-CONFIGURE_ARGS+=	--with-cflags=-D_NETBSD_SOURCE
+CONFIGURE_ARGS.NetBSD+=	--with-cflags=-D_NETBSD_SOURCE
 CONFIGURE_ARGS+=	--with-site-prefix=${PREFIX}/${XSB_VERSION_STR}
 CONFIGURE_ARGS+=	--exec-prefix=${PREFIX}/${XSB_VERSION_STR}
 
@@ -42,9 +42,9 @@ do-build:
 # already packaged.
 
 XSB_CONFIG_NAME=	`${WRKSRC}/config.guess`
-REMOVE_P+=	${XSB_PREFIXDIR}/config/${XSB_CONFIG_NAME}/lib/xsb_configuration.P
-REMOVE_P+=	${XSB_PREFIXDIR}/lib/prolog_db_doc/prolog_db_format.P
-REMOVE_P+=	${XSB_PREFIXDIR}/syslib/debugger_data.P
+REMOVE_P+=		${XSB_PREFIXDIR}/config/${XSB_CONFIG_NAME}/lib/xsb_configuration.P
+REMOVE_P+=		${XSB_PREFIXDIR}/lib/prolog_db_doc/prolog_db_format.P
+REMOVE_P+=		${XSB_PREFIXDIR}/syslib/debugger_data.P
 
 do-install:
 	cd ${WRKSRC} && DESTDIR=${DESTDIR} ./makexsb install package && \


Home | Main Index | Thread Index | Old Index