ports/82818: allegro knob
Gunter Wambaugh
gunter at thewambaughs.net
Thu Jun 30 12:30:15 UTC 2005
>Number: 82818
>Category: ports
>Synopsis: allegro knob
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 30 12:30:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Gunter Wambaugh
>Release: FreeBSD 5.4-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD isengard.thewambaughs.net 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Fri Jun 10 15:15:52 CDT 2005 root at isengard.thewambaughs.net:/usr/obj/usr/src/sys/ISENGARD i386
>Description:
Add a knob to build without PTRHEADs.
>How-To-Repeat:
>Fix:
--- Makefile.patch begins here ---
--- /usr/ports/devel/allegro/Makefile Tue Feb 3 23:19:21 2004
+++ Makefile Sat Jun 18 08:47:52 2005
@@ -20,9 +20,16 @@
USE_REINPLACE= yes
USE_GMAKE= yes
USE_AUTOCONF_VER= 253
+
+# libpthread
+.if !defined(WITHOUT_PTHREAD)
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -DHAVE_LIBPTHREAD" \
- LDFLAGS="${PTHREAD_LIBS}"
+ LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-vga=no
+.else
+CONFIGURE_ARGS= --enable-vga=no --enable-pthreads=no
+.endif
+
MAKEFILE= makefile
ALL_TARGET= full-build
INSTALLS_SHLIB= yes
--- Makefile.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list