1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Respect STRIP/LDFLAGS

PR:		162920
Submitted by:	Jan Beich (jbeich@tormail.net)
This commit is contained in:
Martin Wilke 2012-04-11 03:34:16 +00:00
parent 27465060dc
commit b3630c6d8f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294592
11 changed files with 15 additions and 21 deletions

View File

@ -22,7 +22,6 @@ NOT_FOR_ARCHS= alpha
USE_PERL5= yes
USE_AUTOTOOLS= libtool:env
LDFLAGS?= -s
BGLIBS_INC= ${PREFIX}/include/${PORTNAME}
BGLIBS_LIB= ${PREFIX}/lib/${PORTNAME}
USE_LDCONFIG= ${BGLIBS_LIB}
@ -35,7 +34,7 @@ post-patch:
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${PREFIX}/man" > ${WRKSRC}/conf-man

View File

@ -19,7 +19,7 @@ LIB_DEPENDS= cvm-v2client.2:${PORTSDIR}/security/cvm
CFLAGS+= -I${LOCALBASE}/include
#-I${LOCALBASE}/include/bglibs
LDFLAGS+= -s -L${LOCALBASE}/lib
LDFLAGS+= -L${LOCALBASE}/lib
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
BGLIBS_INCLUDE= ${LOCALBASE}/include/bglibs
@ -33,7 +33,7 @@ do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INCLUDE}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs

View File

@ -37,7 +37,7 @@ do-configure:
${ECHO_CMD} "${MODULES_DIR}" > ${WRKSRC}/conf-modules
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${CFLAGS_SO}"> ${WRKSRC}/conf-ccso
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail

View File

@ -19,7 +19,7 @@ LIB_DEPENDS= bg-sysdeps.2:${PORTSDIR}/devel/bglibs
USE_MYSQL= yes
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/bglibs
LDFLAGS+= -L${LOCALBASE}/lib/mysql -L${LOCALBASE}/lib/bglibs -s
LDFLAGS+= -L${LOCALBASE}/lib/mysql -L${LOCALBASE}/lib/bglibs
PROGS= qmail-autoresponder qmail-autoresponder-mysql
MAN1= qmail-autoresponder.1
@ -31,7 +31,7 @@ do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGS} ${PREFIX}/bin

View File

@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Delayed delivery notification for qmail
CFLAGS+= -DHAVE_SRANDOM
LDFLAGS?= -s
DOCS= NEWS README TODO
EXAMPLES= cron.hourly message.txt
@ -23,7 +22,7 @@ EXAMPLES= cron.hourly message.txt
do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
do-install:
cd ${WRKSRC} && ./installer

View File

@ -16,7 +16,6 @@ COMMENT= Front-end for qmail-queue to run messages through filters
LIB_DEPENDS= bg-sysdeps.2:${PORTSDIR}/devel/bglibs
LDFLAGS?= -s
BGLIBS_INC= ${LOCALBASE}/include/bglibs
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
@ -27,7 +26,7 @@ do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs

View File

@ -31,7 +31,7 @@ SUB_LIST= EXPIRY=${RELAY_CTRL_EXPIRY} FIXUP=${RELAY_CTRL_RELAYCLIENT}
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${CC} ${STRIP} ${LDGFLAGS} " > ${WRKSRC}/conf-ld
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man

View File

@ -21,7 +21,6 @@ CONFLICTS= bglibs-1.00*
USE_AUTOTOOLS= libtool
LIBTOOLFILES= #none
USE_LDCONFIG= yes
LDFLAGS?= -s
BGLIBS_INC= ${LOCALBASE}/include/bglibs
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
@ -50,7 +49,7 @@ do-configure:
${ECHO_CMD} "${PREFIX}/include" > ${WRKSRC}/conf-include
${ECHO_CMD} "${PREFIX}/lib" > ${WRKSRC}/conf-lib
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs

View File

@ -14,8 +14,6 @@ MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tools for processing logs from qmail and other packages
LDFLAGS?= -s
MAN1= multipipe.1 multitail.1 qfilelog.1 \
spipe.1 tai2tai64n.1 tai64n2tai.1 teepipe.1
DOCS= NEWS README
@ -23,7 +21,7 @@ DOCS= NEWS README
do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${STRIP} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
do-install:

View File

@ -16,7 +16,7 @@ COMMENT= A proxy program for UCSPI servers and clients
BUILD_DEPENDS= ${BGLIBS_LIB}/libbg-unix.a:${PORTSDIR}/devel/bglibs
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -s -L${LOCALBASE}/lib
LDFLAGS+= -L${LOCALBASE}/lib
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
BGLIBS_INCLUDE= ${LOCALBASE}/include/bglibs
@ -29,7 +29,7 @@ do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INCLUDE}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs

View File

@ -19,7 +19,7 @@ BUILD_DEPENDS= ${BGLIBS_LIB}/libbg.a:${PORTSDIR}/devel/bglibs
BGLIBS_INC= ${LOCALBASE}/include/bglibs
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
CFLAGS+= -I${BGLIBS_INC}
LDFLAGS+= -s -L${BGLIBS_LIB}
LDFLAGS+= -L${BGLIBS_LIB}
PLIST_FILES= bin/unixcat bin/unixclient bin/unixserver
MAN1= unixclient.1 unixserver.1
@ -30,7 +30,7 @@ post-patch:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${CC} ${LDFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs