diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2015-04-11 14:55:33 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2015-04-11 14:55:33 +0000 |
commit | 2ab476a8cf9ac0d08c9a0639d91563454a6d13c0 (patch) | |
tree | 378f7e37477e82dec0fd7983923ca138d51bd266 /misc/linm/Makefile | |
parent | audio/taglookup: Remove BROKEN; it fetches just fine (diff) |
- Add a patch to replace deprecated des_* methods from des_old.h, which
enables the build against LibreSSL (OpenSSL head has also removed this
header)
- Simplify WRKSRC and move it where it normally belongs in Makefile
- Remove no longer required "/LIBS=/s|-lpthread|-pthread|" gimmick, and
bring Makefile header under standard form
- Provide a better port description while I'm here
PR: 198984
Submitted by: Bernard Spil
Notes
Notes:
svn path=/head/; revision=383804
Diffstat (limited to 'misc/linm/Makefile')
-rw-r--r-- | misc/linm/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/misc/linm/Makefile b/misc/linm/Makefile index efd180a1de76..a05d946011bb 100644 --- a/misc/linm/Makefile +++ b/misc/linm/Makefile @@ -1,4 +1,4 @@ -# Created by: cjh@FreeBSD.org +# Created by: CHOI Junho <cjh@FreeBSD.org> # $FreeBSD$ PORTNAME= linm @@ -14,8 +14,6 @@ COMMENT= Clone of Mdir, mc-style terminal file manager LICENSE= GPLv2 # (or later) LICENSE_FILE= ${WRKSRC}/COPYING -WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:C/-.*//} - USES= gettext pkgconfig gmake libtool USE_OPENSSL= yes GNU_CONFIGURE= yes @@ -23,6 +21,8 @@ CONFIGURE_ARGS= --enable-cfgpath="${ETCDIR}" MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} + CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -39,11 +39,8 @@ PLIST_SUB+= SMB="@comment " .endif post-patch: - @${REINPLACE_CMD} -e \ - 's|configpath|cfgpath|g ; \ - /LIBS=/s|-lpthread|-pthread|' ${WRKSRC}/configure - @${REINPLACE_CMD} -e \ - '/^AM_CFLAGS/s|=.*|= -fPIC -std=gnu89|' \ + @${REINPLACE_CMD} -e 's|configpath|cfgpath|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/^AM_CFLAGS/s|=.*|= -fPIC -std=gnu89|' \ ${WRKSRC}/panel/vfs/libssh2/Makefile.in post-install: |