aboutsummaryrefslogtreecommitdiffstats
path: root/devel/allegro-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/allegro-devel/Makefile')
-rw-r--r--devel/allegro-devel/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/allegro-devel/Makefile b/devel/allegro-devel/Makefile
index ede825289a49..d09dee84d097 100644
--- a/devel/allegro-devel/Makefile
+++ b/devel/allegro-devel/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= allegro
-DISTVERSION= 4.2.0
+DISTVERSION= 4.3.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= alleg
+PKGNAMESUFFIX= -devel
MAINTAINER= alepulver@FreeBSD.org
COMMENT= A cross-platform library for games and multimedia programming
@@ -37,11 +38,12 @@ ALL_TARGET= full-build
INFO= allegro
-CONFLICTS= allegro-devel-[0-9]*
+CONFLICTS= allegro-[0-9]*
+LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
-SHLIB_VER= 42
DEMO= demo.c demo.dat demo.h music.txt ../readme.txt
+SHLIB_VER= 43
.include <bsd.port.pre.mk>
@@ -132,6 +134,9 @@ post-patch:
${CONFIGURE_WRKSRC}/configure.in
.endif
+# Threading libraries.
+ @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/aclocal.m4
+
# Enable/disable compilation optimizations.
.if defined(WITHOUT_OPTIMIZED_CFLAGS)
@${REINPLACE_CMD} -e 's|-O2||g ; \