diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-10-10 12:59:36 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-10-10 12:59:36 +0000 |
commit | 744ecfac3352a5a89c9b0731e7782ef6aa337244 (patch) | |
tree | 066489f219d8ac0b5e6eb955366a5d1dd8bb53a7 /net/generic-nqs | |
parent | Correct intl shlib version number. (diff) |
CC, CXX, CFLAGS, PTHREAD_CFLAGS and PTHREAD_LIBS may contain `/' in
them when using a non-default compiler/linker, so do not use `/' as
delimiter for s///. (I picked `|' instead)
Notes
Notes:
svn path=/head/; revision=67737
Diffstat (limited to 'net/generic-nqs')
-rw-r--r-- | net/generic-nqs/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/generic-nqs/Makefile b/net/generic-nqs/Makefile index d6391c15981f..c24bb32cf974 100644 --- a/net/generic-nqs/Makefile +++ b/net/generic-nqs/Makefile @@ -98,12 +98,12 @@ MAN1= nmapmgr.1 nqs.1 nqsconfig.1 nqsgs.1 nqsrn.1\ post-patch: @${MV} ${WRKSRC}/SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh \ ${WRKSRC}/SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh.orig ; \ - ${SED} -e 's/-O6 -fno-strength-reduce/${CFLAGS}/' \ + ${SED} -e 's|-O6 -fno-strength-reduce|${CFLAGS}|' \ ${WRKSRC}/SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh.orig \ > ${WRKSRC}/SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh pre-configure: - @ ${SED} -e 's/XX_CFLAGS_XX/${CFLAGS}/' ${FILESDIR}/${TEMPLATE} > ${PLATFORMDIR}/${PLATFORM}; \ + @ ${SED} -e 's|XX_CFLAGS_XX|${CFLAGS}|' ${FILESDIR}/${TEMPLATE} > ${PLATFORMDIR}/${PLATFORM}; \ ${CP} ${FILESDIR}/${DUMMYMAKE} ${WRKSRC}; \ ${CHMOD} 555 ${WRKSRC}/Source-Tree/SETUP/all-systems/* ${RM} -f ${MANDIR}/*.man ; \ |