ports/177619: make palm/pilot-link does not install
mfv
mrkvrg at acm.org
Fri Apr 5 15:10:02 UTC 2013
The following reply was made to PR ports/177619; it has been noted by GNATS.
From: mfv <mrkvrg at acm.org>
To: bug-followup at freebsd.org,
mrkvrg at acm.org
Cc:
Subject: Re: ports/177619: make palm/pilot-link does not install
Date: Fri, 5 Apr 2013 10:53:53 -0400
This is my first attempt at debugging a Makefile. I believe the following may
solve the problem which seems to be a syntax issue.
-----------------------< SNIP >----------------------------------------
--- /tmp/Makefile 2013-04-05 08:28:58.000000000 -0400
+++ ./Makefile 2013-04-05 08:30:31.000000000 -0400
@@ -19,7 +19,7 @@
USE_PKGCONFIG= build
GNU_CONFIGURE= yes
CFLAGS+= -I${WRKSRC}/popt -I${LOCALBASE}/include
-CONFIGURE_ARGS+=--with-libiconv=${LOCALBASE} --with-included-popt --enable-
conduits --enable-xsltproc
+CONFIGURE_ARGS+= --with-libiconv=${LOCALBASE} --with-included-popt --
enable-conduits --enable-xsltproc
USE_LDCONFIG= yes
OPTIONS_DEFINE= PNG THREADS USB
@@ -40,7 +40,7 @@
CONFIGURE_ARGS+=--enable-libusb
LDFLAGS+= -L${PREFIX}/lib -lusb
-.if ! ${PORT_OPTIONS:THREADS}
+.if ! ${PORT_OPTIONS:MTHREADS}
IGNORE= cannot be built: USB support requires THREADS turned on.
Please reconfigure using 'make config'
.else
LDFLAGS+= ${PTHREAD_LIBS}
----------------------------------------------------------------------
With the above changes this program will build, though I am not certain if it
is a proper build. At least the error messages no longer appear.
Cheers ...
More information about the freebsd-ports-bugs
mailing list