aboutsummaryrefslogtreecommitdiffstats
path: root/devel/skalibs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/skalibs/Makefile')
-rw-r--r--devel/skalibs/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/skalibs/Makefile b/devel/skalibs/Makefile
index 2f5d9a60df93..fe83d7919fbb 100644
--- a/devel/skalibs/Makefile
+++ b/devel/skalibs/Makefile
@@ -6,19 +6,25 @@
#
PORTNAME= skalibs
-PORTVERSION= 0.33
+PORTVERSION= 0.35
CATEGORIES= devel
MASTER_SITES= http://www.skarnet.org/software/${PORTNAME}/
MAINTAINER= sergei@FreeBSD.org
COMMENT= General purpose C libraries used by skarnet.org software
+LDFLAGS?= -s
+STRIPFLAGS?= -x
+
WRKSRC= ${WRKDIR}/prog/${DISTNAME}
DOCS= package/CHANGES package/README package/THANKS doc/*.html
do-configure:
- ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-compile/conf-cc
+ ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-compile/conf-cc
+ ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-compile/conf-ld
+ ${ECHO_CMD} "${STRIP_CMD} ${STRIPFLAGS}" \
+ > ${WRKSRC}/conf-compile/conf-striplibs
do-build:
cd ${WRKSRC} && package/compile