diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-06 22:53:58 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-06 22:53:58 +0000 |
commit | 0eaca3a3bee6f03d83ef4e5741309e22e2b42e01 (patch) | |
tree | fb0ca5b5851c1487a7f1d7014a726533b23e1c52 | |
parent | - Add patch, fix build net-p2p/qbittorrent-nox11 (diff) |
Support stage
Use options framework
Simplify a bit port
Notes
Notes:
svn path=/head/; revision=343167
-rw-r--r-- | devel/uclmmbase/Makefile | 12 | ||||
-rw-r--r-- | devel/uclmmbase/files/Makefile.bsd | 4 |
2 files changed, 7 insertions, 9 deletions
diff --git a/devel/uclmmbase/Makefile b/devel/uclmmbase/Makefile index c24e4c1097db..5bef128464b6 100644 --- a/devel/uclmmbase/Makefile +++ b/devel/uclmmbase/Makefile @@ -10,16 +10,17 @@ DISTNAME= common-${PORTVERSION} MAINTAINER= mi@aldan.algebra.com COMMENT= Common subroutines for UCL mbone applications +OPTIONS_DEFINE= IPV6 + WRKSRC= ${WRKDIR}/common +USES= uidfix GNU_CONFIGURE= yes USE_OPENSSL= yes -.ifndef (NO_INET6) -CONFIGURE_ARGS= --enable-ipv6 -.endif +IPV6_CONFIGURE_ENABLE= ipv6 USE_XZ= yes MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null +INSTALL_WRKSRC= ${WRKSRC}/src -NO_STAGE= yes post-configure: @for f in ${FILESDIR}/*.bsd ; do \ ${LN} -sf $$f ${WRKSRC}/src/`${BASENAME} $$f .bsd` ; \ @@ -33,7 +34,4 @@ post-build test: /fail$$/ && $$2 != "networking" { code=1 } \ { print } END { exit code }' -do-install: - cd ${WRKSRC}/src && ${MAKE_ENV} ${MAKE} install - .include <bsd.port.mk> diff --git a/devel/uclmmbase/files/Makefile.bsd b/devel/uclmmbase/files/Makefile.bsd index 1620e06ab61c..a20a03add770 100644 --- a/devel/uclmmbase/files/Makefile.bsd +++ b/devel/uclmmbase/files/Makefile.bsd @@ -2,7 +2,7 @@ CFLAGS+= -I${OPENSSLINC} -DBSD LDADD = -L${OPENSSLLIB} -lssl -lcrypto VERSION!=cat ${.CURDIR:H}/VERSION LIB = uclmmbase -NOPROFILE= yes +NO_PROFILE= yes SHLIB_MAJOR= ${VERSION:R:S/.//g} SHLIB_MINOR= ${VERSION:E} LIBDIR= ${PREFIX}/lib @@ -23,7 +23,7 @@ version.h: ${.CURDIR:H}/VERSION echo '#define CCL_VERSION "v${VERSION}"' > $@ ${INCLUDEDIR} ${LIBDIR}: - mkdir -p $@ + mkdir -p ${DESTDIR}$@ beforeinstall: ${INCLUDEDIR} ${LIBDIR} |