diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2009-05-21 13:56:42 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2009-05-21 13:56:42 +0800 |
commit | ed8b4c417f9858310b43b78c1c162aca91659812 (patch) | |
tree | 93d9d2dd8f95ca813628e154186a50ad7a1c5c5a /net/miredo/Makefile | |
parent | 6e4bb87d037b994b6401396f6e75d518cbcdd8ca (diff) | |
download | freebsd-ports-graphics-ed8b4c417f9858310b43b78c1c162aca91659812.tar.gz freebsd-ports-graphics-ed8b4c417f9858310b43b78c1c162aca91659812.tar.zst freebsd-ports-graphics-ed8b4c417f9858310b43b78c1c162aca91659812.zip |
1. remove unnessary starup file
2. change localstatedir to use /var/run
3. miredo.conf remove fix
4. Fix complie error with WITHOUT_NLS=yes
PR: ports/134772 (3 and 4)
Submitted by: dirk.meyer@dinoex.sub.org (3 and 4)
Diffstat (limited to 'net/miredo/Makefile')
-rw-r--r-- | net/miredo/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/net/miredo/Makefile b/net/miredo/Makefile index 7e2520c976b..17bb4434a22 100644 --- a/net/miredo/Makefile +++ b/net/miredo/Makefile @@ -17,6 +17,7 @@ LIB_DEPENDS= Judy.1:${PORTSDIR}/devel/judy USE_BZIP2= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS= --localstatedir=/var USE_LDCONFIG= yes MAN1= teredo-mire.1 @@ -24,24 +25,18 @@ MAN5= miredo-server.conf.5 miredo.conf.5 MAN8= miredo-server.8 miredo.8 miredo-checkconf.8 USE_RC_SUBR= miredo_server miredo -.if !defined(WITHOUT_NLS) -USE_GETTEXT= yes -USE_ICONV= yes CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ CFLAGS="${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +USE_ICONV= yes CONFIGURE_ARGS+= --enable-nls PLIST_SUB= NLS="" .else -CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS}" CONFIGURE_ARGS+= --disable-nls PLIST_SUB= NLS="@comment " .endif -.include <bsd.port.pre.mk> - -.if ${ARCH} == sparc64 -BROKEN= Does not compile on sparc64 -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |