aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/libpri/Makefile8
-rw-r--r--misc/libpri/files/patch-Makefile2
2 files changed, 2 insertions, 8 deletions
diff --git a/misc/libpri/Makefile b/misc/libpri/Makefile
index 19fb33d66559..000570459a21 100644
--- a/misc/libpri/Makefile
+++ b/misc/libpri/Makefile
@@ -20,10 +20,4 @@ PLIST_FILES= include/libpri.h lib/libpri.a lib/libpri.so \
ONLY_FOR_ARCHS= amd64 i386 sparc64
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/libpri/files/patch-Makefile b/misc/libpri/files/patch-Makefile
index a452148bc943..98a81846aa93 100644
--- a/misc/libpri/files/patch-Makefile
+++ b/misc/libpri/files/patch-Makefile
@@ -26,7 +26,7 @@ $FreeBSD$
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS)
-INSTALL_PREFIX=$(DESTDIR)
-INSTALL_BASE=/usr
-+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
++CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
+INSTALL_PREFIX=$(PREFIX)
+INSTALL_BASE=
libdir?=$(INSTALL_BASE)/lib