diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-09-05 10:26:41 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-09-05 10:26:41 +0000 |
commit | ffb2503c984f5260a595c3426b3381b6fe13041e (patch) | |
tree | 1c21231160e0c492dfcf1f9375001555cfddd231 /net/netatalk | |
parent | 69815ea27cd59741b3cea11c3411875670056ad3 (diff) |
Notes
Diffstat (limited to 'net/netatalk')
-rw-r--r-- | net/netatalk/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile index 7a266ef509d6..23ce7f2ec0e9 100644 --- a/net/netatalk/Makefile +++ b/net/netatalk/Makefile @@ -21,7 +21,6 @@ USE_RC_SUBR= netatalk CONFIGURE_ARGS+= --with-tcp-wrappers \ --with-pkgconfdir=${PREFIX}/etc \ - --with-libiconv=${LOCALBASE} \ --with-libgcrypt-dir=${LOCALBASE} \ --with-uams-path=${PREFIX}/libexec/netatalk-uams \ --with-bdb=${LOCALBASE} @@ -120,6 +119,12 @@ CONFIGURE_ARGS+= --enable-sendfile CONFIGURE_ARGS+= --disable-sendfile .endif +.include <bsd.port.pre.mk> + +.if !empty(ICONV_LIB) +CONFIGURE_ARGS= --with-libiconv=${LOCALBASE} +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%DB_NAME%%|${BDB_INCLUDE_DIR:T}| ; \ s|%%DB_LIB%%|-l${BDB_LIB_NAME}|g ; \ @@ -141,4 +146,4 @@ post-install: .endfor @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |