[Midnightbsd-cvs] mports [20771] trunk/graphics/gocr/Makefile: fix build
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Nov 12 20:33:45 EST 2015
Revision: 20771
http://svnweb.midnightbsd.org/mports/?rev=20771
Author: laffer1
Date: 2015-11-12 20:33:45 -0500 (Thu, 12 Nov 2015)
Log Message:
-----------
fix build
Modified Paths:
--------------
trunk/graphics/gocr/Makefile
Modified: trunk/graphics/gocr/Makefile
===================================================================
--- trunk/graphics/gocr/Makefile 2015-11-13 01:32:18 UTC (rev 20770)
+++ trunk/graphics/gocr/Makefile 2015-11-13 01:33:45 UTC (rev 20771)
@@ -3,7 +3,7 @@
PORTNAME= gocr
PORTVERSION= 0.50
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www-e.uni-magdeburg.de/jschulen/ocr/
@@ -16,7 +16,8 @@
USES= gmake
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-netpbm=${LOCALBASE}
+CONFIGURE_ARGS= --with-netpbm=${LOCALBASE}
+MAKE_ARGS= prefix=${TRUE_PREFIX} exec_prefix=${TRUE_PREFIX} DESTDIR=${FAKE_DESTDIR}
PLIST_FILES= bin/gocr \
man/man1/gocr.1.gz
@@ -33,9 +34,6 @@
OPTIONS_DEFINE= X11 DOCS
OPTIONS_DEFAULT= X11
-# This port doesn't understand what DESTDIR is supposed to do.
-FAKE_MAKEARGS= ${DESTDIRNAME}=${FAKE_DESTDIR}${PREFIX} mandir=/man ${MAKE_ARGS}
-
.include <bsd.mport.options.mk>
.if ${PORT_OPTIONS:MX11}
More information about the Midnightbsd-cvs
mailing list