diff options
Diffstat (limited to 'misc/nut/Makefile')
-rw-r--r-- | misc/nut/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile index 34f154605578..7af524963f45 100644 --- a/misc/nut/Makefile +++ b/misc/nut/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nut -PORTVERSION= 14.0 +PORTVERSION= 14.0a CATEGORIES= misc MASTER_SITES= SF PKGNAMEPREFIX= health- @@ -24,6 +24,8 @@ PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/FOOD_DES.txt \ PLIST_DIRS= %%DATADIR%% MAN1= ${PORTNAME}.1 +WRKSRC= ${WRKDIR}/${PORTNAME}-14.0 + post-patch: @${REINPLACE_CMD} -e "s|/usr/local/lib/nut|${DATADIR}|" \ -e 's|^CFLAGS=|CFLAGS+=|g;s|-Os||;s|gcc|$${CC}|' ${WRKSRC}/Makefile |