From 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 19 Apr 2008 17:56:05 +0000 Subject: - Remove unneeded dependency from gtk12/gtk20 [1] - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav) --- misc/xpns/Makefile | 4 ++-- misc/xpns/files/patch-aa | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'misc/xpns') diff --git a/misc/xpns/Makefile b/misc/xpns/Makefile index fc78b33f8047..156708e328be 100644 --- a/misc/xpns/Makefile +++ b/misc/xpns/Makefile @@ -7,7 +7,7 @@ PORTNAME= xpns PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc cad MASTER_SITES= http://robotics.ee.uwa.edu.au/pns/ftp/ DISTFILES= pns_source.tar.Z @@ -16,7 +16,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Petri-Net Simulator for Xwindows NO_WRKSUBDIR= yes -USE_X_PREFIX= yes +USE_XORG= x11 xaw MAKEFILE= makefile ALL_TARGET= pns diff --git a/misc/xpns/files/patch-aa b/misc/xpns/files/patch-aa index 761738ab4a17..b59bf9c99252 100644 --- a/misc/xpns/files/patch-aa +++ b/misc/xpns/files/patch-aa @@ -11,10 +11,10 @@ -I = -I/usr/local/X11R5/include - -L = -L/usr/local/X11R5/lib -lXaw -lXmu -lXt -lXext -lX11 -lm -+I = -I$(X11BASE)/include ++I = -I$(LOCALBASE)/include -+L = -L$(X11BASE)/lib -lXaw -lXmu -lXt -lXext -lX11 -lm -+L +=-Wl,-rpath,$(X11BASE)/lib ++L = -L$(LOCALBASE)/lib -lXaw -lXmu -lXt -lXext -lX11 -lm ++L +=-Wl,-rpath,$(LOCALBASE)/lib #------------------------------------------ # COMPILER UND LINKER -- cgit v1.2.3